From 8db1ad8ea6eaba83a1f9293791ffc0474a6f6f5d Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 6 Dec 2000 10:46:42 +0000 Subject: [PATCH] (x_load_font): Don't use the font's max_bounds for computing the height of the font. If max_bounds' ascent or descent are greater than the font's ascent or descent, this means glyphs overlap, which should be handled now by redisplay. --- src/xterm.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index da53834e08f..f30ee0159fd 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -13213,13 +13213,6 @@ x_load_font (f, fontname, size) fontp->size = font->max_bounds.width; fontp->height = FONT_HEIGHT (font); - { - /* For some font, ascent and descent in max_bounds field is - larger than the above value. */ - int max_height = font->max_bounds.ascent + font->max_bounds.descent; - if (max_height > fontp->height) - fontp->height = max_height; - } if (NILP (font_names)) { -- 2.30.2